from flask import current_app as app

@app.route("/teacher")
def get_teacher_info():
    return "this is get teacher info"